.class public Lcom/instagram/android/a/b/e;
.super Ljava/lang/Object;
.source "FriendRequestHeaderRowViewBinder.java"


# direct methods
.method public static a(Landroid/view/View;)Landroid/view/View;
    .locals 2
    .parameter

    .prologue
    .line 18
    new-instance v1, Lcom/instagram/android/a/b/h;

    invoke-direct {v1}, Lcom/instagram/android/a/b/h;-><init>()V

    .line 19
    sget v0, Lcom/facebook/aw;->row_friend_request_header_textview:I

    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-static {v1, v0}, Lcom/instagram/android/a/b/h;->a(Lcom/instagram/android/a/b/h;Landroid/widget/TextView;)Landroid/widget/TextView;

    .line 20
    sget v0, Lcom/facebook/aw;->row_friend_request_header_button_approve:I

    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/instagram/android/a/b/h;->a(Lcom/instagram/android/a/b/h;Landroid/view/View;)Landroid/view/View;

    .line 21
    sget v0, Lcom/facebook/aw;->row_friend_request_header_button_ignore:I

    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/instagram/android/a/b/h;->b(Lcom/instagram/android/a/b/h;Landroid/view/View;)Landroid/view/View;

    .line 22
    invoke-static {v1, p0}, Lcom/instagram/android/a/b/h;->c(Lcom/instagram/android/a/b/h;Landroid/view/View;)Landroid/view/View;

    .line 23
    invoke-virtual {p0, v1}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 24
    return-object p0
.end method

.method public static a(Lcom/instagram/android/a/b/h;Lcom/instagram/android/model/b/e;Landroid/content/Context;Landroid/support/v4/app/aj;)V
    .locals 5
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    const/4 v1, 0x0

    .line 30
    invoke-static {p0}, Lcom/instagram/android/a/b/h;->a(Lcom/instagram/android/a/b/h;)Landroid/view/View;

    move-result-object v2

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->C()Z

    move-result v0

    if-eqz v0, :cond_0

    move v0, v1

    :goto_0
    invoke-virtual {v2, v0}, Landroid/view/View;->setVisibility(I)V

    .line 31
    invoke-static {p0}, Lcom/instagram/android/a/b/h;->b(Lcom/instagram/android/a/b/h;)Landroid/widget/TextView;

    move-result-object v0

    sget v2, Lcom/facebook/ba;->x_wants_to_follow_you:I

    const/4 v3, 0x1

    new-array v3, v3, [Ljava/lang/Object;

    invoke-virtual {p1}, Lcom/instagram/android/model/b/e;->f()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v3, v1

    invoke-virtual {p2, v2, v3}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 32
    invoke-static {p0}, Lcom/instagram/android/a/b/h;->c(Lcom/instagram/android/a/b/h;)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/a/b/f;

    invoke-direct {v1, p2, p3, p1, p0}, Lcom/instagram/android/a/b/f;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;Lcom/instagram/android/model/b/e;Lcom/instagram/android/a/b/h;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 40
    invoke-static {p0}, Lcom/instagram/android/a/b/h;->d(Lcom/instagram/android/a/b/h;)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/a/b/g;

    invoke-direct {v1, p2, p3, p1, p0}, Lcom/instagram/android/a/b/g;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;Lcom/instagram/android/model/b/e;Lcom/instagram/android/a/b/h;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 49
    return-void

    .line 30
    :cond_0
    const/16 v0, 0x8

    goto :goto_0
.end method
